#pragma once
#include "player.h"

class Checkpoint
{
public:
	Checkpoint(int order, int spawnX, int spawnY, int leftX, int upY, int rightX, int downY, CPlayer* player, bool endOfLevel, int goToLevel);
	~Checkpoint(void);
	int order;
	int spawnX;
	int spawnY;
	int leftX;
	int upY;
	int rightX;
	int downY;
	CPlayer* player;
	int Update();
	bool endOfLevel;
	int goToLevel;
};
